<picture
  ><source
    srcset="
      /tips_data/responsible-javascript-2x.webp 2x,
      /tips_data/responsible-javascript-1x.webp 1x
    "
    type="image/webp" />
  <a
    href="https://abookapart.com/products/responsible-javascript"
    target="_blank"
    ><img
      style="float: left; padding-right: 1em"
      width="221"
      height="330"
      srcset="
        /tips_data/responsible-javascript-2x.png 2x,
        /tips_data/responsible-javascript-1x.png 1x
      "
      src="/tips_data/responsible-javascript-1x.png" /></a></picture
>A Book Apart has published "<a
  href="https://abookapart.com/products/responsible-javascript"
  target="_blank"
  >Responsible JavaScript</a
>" by <a href="https://twitter.com/malchata" target="_blank">Jeremy Wagner</a
><br /><br />JavaScript plays a powerful role in creating rich interactive
experiences. But its power comes at a cost: longer load times, sluggish pages,
and inaccessible content. The more we rely on client-side rendering, the more
likely we are to exclude visitors with older devices, slower connections, or
those who have disabled JavaScript altogether.<br /><br />If we want people to
fully experience the sites we have worked so hard to craft, then we must be
judicious in our use of JavaScript. In thoughtful detail, Jeremy Wagner shows
how JavaScript can be used to progressively enhance server-side functionality,
while improving speed and access for more visitors. By centering user needs
every step of the way&mdash;from toolchains to metrics to testing&mdash;we can
all contribute to a more inclusive, accessible, and resilient web.
